home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / util / pack / xfh132.lzh / XFH / Arexx / SetPassword.rexx < prev   
OS/2 REXX Batch file  |  1992-12-03  |  384b  |  14 lines

  1. /* Set PASSWORD option for XFH device.
  2.  *
  3.  * This is useful if you wish to use encryption with XFH. Obviously,
  4.  * storing the password in an option file wouldn't be a good idea.
  5.  *
  6.  * Usage: rx SetPassword <device> <password>
  7.  *
  8.  * For example: rx SetPassword XDH1 SecretKey
  9.  */
  10.  
  11. PARSE ARG unit value rest
  12. ADDRESS (''||unit)    /* Arexx wierdness... */
  13. 'setoption' 'PASSWORD='||value
  14.